#ifndef __KEY_DRV_H
#define __KEY_DRV_H

#include "main.h"

#define KEY1_SHORT_PRESS	0x01
#define KEY1_LONG_PRESS		0x81
#define KEY2_SHORT_PRESS	0x02
#define KEY2_LONG_PRESS		0x82
#define KEY3_SHORT_PRESS	0x03
#define KEY3_LONG_PRESS		0x83

static uint8_t KeyScan(uint8_t keyIndex);
uint8_t GetKeyVal(void);

#endif